home *** CD-ROM | disk | FTP | other *** search
- on mouseDown
- global gLstFL2, gLstFL2Art, gintWhichSprite
- hChickletState("flashLight on", "FLSHLITE.AIF")
- if the visible of sprite 14 = 0 then
- set lBoolMapItemDone4p to getProp(gLstFL2, 4)
- set lBoolMapItemDone5p to getProp(gLstFL2, 5)
- set lBoolMapItemDone6p to getProp(gLstFL2, 6)
- set lBoolMapItemDone7p to getProp(gLstFL2, 7)
- set lBoolMapItemDone8p to getProp(gLstFL2, 8)
- set lBoolMapItemDone9p to getProp(gLstFL2, 9)
- set lBoolMapItemDone10p to getProp(gLstFL2, 10)
- set lBoolMapItemDone11p to getProp(gLstFL2, 11)
- if lBoolMapItemDone4p = 0 then
- hVisibleSprite(1, 4, 4)
- end if
- if lBoolMapItemDone5p = 0 then
- hVisibleSprite(1, 5, 5)
- end if
- if lBoolMapItemDone6p = 0 then
- hVisibleSprite(1, 6, 6)
- end if
- if lBoolMapItemDone7p = 0 then
- hVisibleSprite(1, 7, 7)
- end if
- if lBoolMapItemDone8p = 0 then
- hVisibleSprite(1, 8, 8)
- end if
- if lBoolMapItemDone9p = 0 then
- hVisibleSprite(1, 9, 9)
- end if
- if lBoolMapItemDone10p = 0 then
- hVisibleSprite(1, 10, 10)
- end if
- if lBoolMapItemDone11p = 0 then
- hVisibleSprite(1, 11, 11)
- end if
- end if
- if the visible of sprite 17 then
- set lBoolArtItemDone4p to getProp(gLstFL2Art, 4)
- set lBoolArtItemDone5p to getProp(gLstFL2Art, 5)
- set lBoolArtItemDone6p to getProp(gLstFL2Art, 6)
- set lBoolArtItemDone7p to getProp(gLstFL2Art, 7)
- set lBoolArtItemDone8p to getProp(gLstFL2Art, 8)
- set lBoolArtItemDone10p to getProp(gLstFL2Art, 10)
- set lBoolArtItemDone11p to getProp(gLstFL2Art, 11)
- if (lBoolArtItemDone4p = 0) and (gintWhichSprite = 4) then
- hVisibleSprite(1, 22, 22)
- end if
- if (lBoolArtItemDone5p = 0) and (gintWhichSprite = 5) then
- hVisibleSprite(1, 22, 22)
- end if
- if (lBoolArtItemDone6p = 0) and (gintWhichSprite = 6) then
- hVisibleSprite(1, 22, 22)
- end if
- if (lBoolArtItemDone7p = 0) and (gintWhichSprite = 7) then
- hVisibleSprite(1, 22, 22)
- end if
- if (lBoolArtItemDone8p = 0) and (gintWhichSprite = 8) then
- hVisibleSprite(1, 22, 22)
- end if
- if (lBoolArtItemDone10p = 0) and (gintWhichSprite = 10) then
- hVisibleSprite(1, 22, 22)
- end if
- if (lBoolArtItemDone11p = 0) and (gintWhichSprite = 11) then
- hVisibleSprite(1, 22, 22)
- end if
- end if
- updateStage()
- repeat while the mouseDown
- nothing()
- end repeat
- hChickletState("flashLight off", 0)
- hVisibleSprite(0, 4, 8)
- hVisibleSprite(0, 22, 22)
- updateStage()
- end
-